import 'package:native_dart_package/generated/base/json_field.dart';

part 'device_config_model.g.dart';

class DeviceConfigModel {
  // 关联的第三方站点
  int? thirdSiteId;
  // mqtt名称
  String? userName;
  //mqtt密码
  String? password;

  String? currentRatio;

  String? voltageRatio;

  String? energyRatio;

  String? powerRatio;

  DeviceConfigModel(
      {this.thirdSiteId,
      this.userName,
      this.password,
      this.currentRatio,
      this.energyRatio,
      this.powerRatio,
      this.voltageRatio});

  factory DeviceConfigModel.fromJson(Map<String, dynamic> json) =>
      _$DeviceConfigModelFromJson(json);

  // Map<String, dynamic> toJson() => _$DeviceConfigModelToJson(this);
}
